projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0caa5b5
)
add test: cargo --version
author
Liigo Zhuang
<com.liigo@gmail.com>
Mon, 15 Dec 2014 06:17:51 +0000
(14:17 +0800)
committer
Liigo Zhuang
<com.liigo@gmail.com>
Mon, 15 Dec 2014 06:57:54 +0000
(14:57 +0800)
tests/test_cargo_version.rs
patch
|
blob
|
history
diff --git
a/tests/test_cargo_version.rs
b/tests/test_cargo_version.rs
index f6a2312ed5f9678632bcc345b7d4efcca912604e..cca8e721b560b76e98d7a62eab10c8813495394b 100644
(file)
--- a/
tests/test_cargo_version.rs
+++ b/
tests/test_cargo_version.rs
@@
-10,4
+10,9
@@
test!(simple {
assert_that(p.cargo_process("version"),
execs().with_status(0).with_stdout(format!("{}\n",
cargo::version()).as_slice()));
+
+ assert_that(p.cargo_process("--version"),
+ execs().with_status(0).with_stdout(format!("{}\n",
+ cargo::version()).as_slice()));
+
})